Line Test API
Error Codes
Error Code | Http Status Code | API Endpoint / Resource | Reason for Error | Error Cause |
RGW-400-001 | 400 |
POST /tests where input Test type = wifiInfo wanInfo lanVoiceInfo |
Bad Request | The requested capability is no longer available. From 31 October 2024, RGW ONT mode is no longer supported by Chorus. |
PT-006 | 400 |
GET /tests/{testId}
GET /tests |
Test ID invalid format | Test ID Invalid format doesn't match the format: XXNNXXNN (where X=alpha, N=numeric). |
PT-007 | 400 |
GET /tests/{testId}
GET /tests |
Count parameter must be <= 20 | The parameter Count has been specified as greater than 20. |
PT-023 | 400 | All | {cause generated by the Anypoint Platform} | RAML validation failure |
PT-025 | 400 | POST /tests | Test Type not valid for the specified product | The specified Test Type is not valid for the type of product specified |
PT-026 | 400 | POST /tests | Product Type {product type} is not supported | Product type is known but not on roadmap for this API |
PT-027 | 400 | POST /tests | Product ID is not valid | Product ID does not match any known Product pattern |
PT-032 | 400 | POST /tests | Product Type {Product Type} has not been implemented | Product type matches the pattern for a PSTN product; these are on the roadmap for the API. |
Auth-001 or Auth-002 or Auth-003 | 403 | All endpoints | Missing authorisation setup. Contact Chorus API support. | No entry associated in the cross-reference table for the specified Client_ID. |
PT-010 | 403 | POST /tests | User Type unable to create {Test Type} test | Unauthorised user specified Post Test with Test Type opticalInfo or lineQualityDiagnosis. |
PT-005 | 404 | POST /tests | Product ID not found | Cannot find the specified Product ID. |
PT-022 or PT-004 | 404 | GET /tests/{testId} | Test ID not found | Cannot find Test ID. |
PT-012 | 500 | GET /tests | Downstream API exception | 500 http status code from downstream system |
PT-014 | 500 | POST /tests | Downstream API exception | 500 http status code received from downstream system. |
PT-016 | 500 | All endpoints | Downstream API Exception | If any other error, that is not already explicitly handled, received from the downstream system. |
PT-018 | 500 |
GET /tests/{testId}
GET /tests |
Downstream API Exception | 500 http status code received from the downstream system. |
PT-020 | 500 |
GET /tests/{testId}
GET /tests |
Connection error when attempting to call downstream system | 500 http status code received from the downstream system. |
PT-011 | 503 | GET /tests | Connection error when attempting to call downstream system | 503 http status code received from the downstream system. |
PT-013 | 503 | POST /tests | Connection error when attempting to call downstream system | 503 http status code received from the downstream system. |
PT-015 | 503 |
GET /tests/{testId}
GET /tests |
Connection error when attempting to call downstream system | 408 http status code received from the downstream system, or Test Status = Failure. |
PT-017 | 503 |
GET /tests/{testId}
GET /tests |
Connection error when attempting to call downstream system | 503 http status code received from the downstream system. |
PT-019 | 503 |
GET /tests/{testId}
GET /tests |
Connection error when attempting to call downstream system | 503 http status code received from the downstream system. |
PT-028 | 503 | All endpoints | A sub system is currently busy – try again | Congestion at a lower level. |